package com.easy.frame.servers.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easy.frame.servers.sys.entity.SysFile;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * <p>
 * 文件记录表 服务类
 * </p>
 *
 * @author tp
 * @since 2021-01-19
 */
public interface SysFileService extends IService<SysFile> {

    SysFile uploadFile(MultipartFile file);

    SysFile exportFile(SysFile sysFile) throws IOException;
}
